package com.dpf.hou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dpf.hou.pojo.Pet;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

@Repository
public interface PetMapper extends BaseMapper<Pet> {

    @Delete("delete from pet where petid = #{petid}")
    boolean deleteById(Integer petid);
}
